package com.wzy.mapper;

import com.wzy.pojo.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @auth wzy
 * @date 2023/10/24 14:28
 */
public interface SysUserMapper {
    List<SysUser> selectSysUserList(@Param("sysUser") SysUser sysUser, @Param("startIndex") Integer startIndex, @Param("pageSize") Integer pageSize);
    Integer selectCount(SysUser sysUser);

    int add(SysUser sysUser);

    SysUser selectByAccount(String account);

    SysUser selectById(Integer id);

    int update(SysUser sysUser);
}
